#include "tip3.h"
#include "ui_tip3.h"
#include "game4.h"
#include <QPainter>
#include <QFont>
#include <QPixmap>
#include <QTimer>


tip3::tip3(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::tip3)
{
    ui->setupUi(this);
    this->setAttribute(Qt::WA_DeleteOnClose);
}

tip3::~tip3()
{
    delete ui;
}

void tip3::paintEvent(QPaintEvent *)
{
    QPainter painter(this);
    int x1=ui->p5frame->pos().x();
    int y1=ui->p5frame->pos().y();
    qh[0].load(":/resourse/p13.png") ;
    painter.drawPixmap(x1,y1,ui->p5frame->width(),ui->p5frame->height(),qh[0]);
}



